Mollie\WooCommerce\Gateway\GatewayModule B

Total Complexity 90
Dependencies 20
Dependents 0
Total lines 407
Lines of code 305
Logical lines of code 215
Comment lines 65
Methods 20
Properties 2

Methods 20

Method Rating Maintainability Complexity Lines of code
run()
B
31 19 104
addPhoneWhenRest()
A
54 9 21
addPaymentMethodMandatoryFieldsPhoneVerification()
A
55 8 19
paymentButtonsBootstrap()
S
56 7 19
disableMollieOnPaymentMethodChange()
S
60 7 12
addBirthdateWhenRest()
S
58 5 14
in3FieldsMandatoryPayForOrder()
S
60 5 12
addPaymentMethodMandatoryFields()
S
56 4 17
switchFields()
S
63 5 9
addShopOrderMetabox()
S
58 4 14
instantiatePaymentMethods()
S
59 3 14
setOrderPaidByOtherGateway()
S
62 3 10
disableSEPAInCheckout()
S
71 2 6
services()
S
69 2 7
extensions()
S
69 2 7
gatewaySurchargeHandling()
S
81 1 3
in3FieldsMandatory()
S
69 1 6
isPhoneValid()
S
79 1 3
isBirthValid()
S
80 1 3
buildPaymentMethod()
S
73 1 5